﻿using Basic.FormRemoteModel;
using Basic.FormRemoteModel.PhyFormInter.Model;
using SqlSugar;

namespace Basic.FormModel.PhyColumn
{
    public class PhyColumn
    {
        public long Id { get; set; }
        public long PhyTableId { get; set; }
        /// <summary>
        /// 列名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 数据基础类型
        /// </summary>
        public FormRecordDataType DataType { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public FormColumnFuncType FuncType { get; set; }
        /// <summary>
        /// 列的配置
        /// </summary>
        [SugarColumn(IsJson = true)]
        public PhyColumnSet ColumnSet { get; set; }
    }
}
